package com.yitongmao;

/*
* 作者：梁伟航 on 2017/7/14 09:41
* 类的用途：常量池
*/
public final class AppConstancts {
    public static final class Net {//http://demo-service.cdtupsmfw.com:81/app/
        //最后以/结尾
        public static final String baseicon = "http://192.168.2.222:83/app/";
        //public static final String baseicon = "http://192.168.2.110/fruit-web/app/";
        //public static final String baseicon = "http://192.168.2.111:8080/fruit-web/app/";
        //public static final String baseicon = "http://demo-service.cdtupsmfw.com:81/app/";
        //public static final String baseUrl = "http://test.dmeihui.com:83/app/";
        public static final String homeUrl = baseicon + "index/";//首页列表的接口
        public static final String searchReMen = baseicon + "searchLable/";//搜索热门的列表
        public static final String searchItemonclick = baseicon + "search/";
        public static final String registerUrl = baseicon + "sms/send/";//注册验证码接口
        public static final String registerOneUrl = baseicon + "registerValidate/";//注册第一步
        public static final String loginUrl = baseicon + "login/";//登录的接口
        public static final String registerTwoUrl = baseicon + "register/";//注册第二步
        public static final String setpasswordUrl = baseicon + "setPwd/";//设置密码
        public static final String classfyhotUrl = baseicon + "popular/";
        public static final String classfyleftUrl = baseicon + "getclassname/";//左边的列表数据
        public static final String classfyonclickUrl = baseicon + "category/";//点击不是0的item
        public static final String iconUrl = baseicon + "user/headImage";
        public static final String shoppingListUrl = baseicon + "shopping/";//购物车列表
        public static final String userMessageUrl = baseicon + "user/userCenter/";//请求用户
        public static final String saveAddressUrl = baseicon + "user/saveAddress/";//添加收货地址
        public static final String addressListUrl = baseicon + "user/addressList";  //收货地址列表
        public static final String addressDefault = baseicon + "user/updateStatus"; //修改默认收货地址
        public static final String myFocusUrlList = baseicon + "user/followList/";//我的关注列表
        public static final String allListUrl = baseicon + "order/getOrderList/";//全部订单
        public static final String addShoppingUrl = baseicon + "shopping/addShopping/";//添加购物车
        public static final String addNumShoppingUrl = baseicon + "shopping/updateShopping/";//增加减少购物车数量
        public static final String deleteShoppingUrl = baseicon + "shopping/delShopping/";//删除购物车商品
        public static final String addAttentionUrl = baseicon + "user/saveFollow/"; //添加关注
        public static final String amendUserMessageUrl = baseicon + "user/userAlter/";//修改用户修改.昵称.性别
        public static final String deleteAddressUrl = baseicon + "user/deleteAddress/"; //删除收货地址
        public static final String deleteAmendUrl = baseicon + "user/deleteFollow/";//删除关注
        public static final String amendtakeUrl = baseicon + "user/updateAddress/";//修改收货地址
        public static final String shoppingCloseAnAccount = baseicon + "order/confirmOrder/valication/"; //购物车结算验证
        public static final String intoCloseAnAccount = baseicon + "order/confirmOrder/"; //进入结算页
        public static final String closeAnAccount = baseicon + "pay/"; //结算
        public static final String closeAnSuccessUrl = baseicon + "pay/result/"; //结算
        public static final String indentDetailsUrl = baseicon + "order/getOrderDetails/";//订单详情
        public static final String canCleOrder = baseicon + "order/cancelReason/";//取消订单原因
        public static final String submitOrder = baseicon + "order/cancelOrder/";//提交取消订单的原因
        public static final String exchangeList = baseicon + "order/refundOrderList/";//退换货列表
        public static final String baseiconDetails = "http://192.168.2.222:83/fruit-web/";
        public static final String shoppingDtailsUrl = baseiconDetails + "wap/goods/detail";//商品详情
        public static final String shoppingTuikuanUrl = baseiconDetails + "wap/order/refund/detail";//退款详情
        public static final String historyVersionUrl = baseicon + "edition/versionInfo/";//历史版本
        public static final String aboutWanGuoUrl = baseiconDetails + "wap/goods/about";
       // public static final String detailsVerifyUrl = baseicon + "/user/getUserToken/";  //进入到商品详情验证
        public static final String getShoppingNumUrl=baseicon+"shopping/getShoppingNum/";
        public static final String ApplyForRefundUrl=baseiconDetails+"wap/order/refund";//申请退款
        public static final String goPayUrl=baseicon+"/order/payResult/";//去支付

    }
}
